ifeq (goldengate, $(filter goldengate, $(chipname)))
include $(SDK_DIR)/mk/sys_km.mk

CORE_GG_SRCS += $(shell find $(SDK_DIR)/core/goldengate/src/ -name "*.c")
CORE_GG_OBJS := $(patsubst %.c,%.o,$(CORE_GG_SRCS))
CORE_GG_OBJS := $(subst $(SDK_DIR)/core/goldengate/,,$(CORE_GG_OBJS))
CORE_GG_OBJS := $(sort $(CORE_GG_OBJS))

lib-m += $(CORE_GG_OBJS)
endif


